﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Shopper
{
    public partial class frmNhaCungCapForm : DevExpress.XtraEditors.XtraForm
    {
        public frmNhaCungCapForm()
        {
            InitializeComponent();
        }

        public string TenNhaCungCap
        {
            get
            {
                txtTenNcc.DoValidate();
                return txtTenNcc.Text;
            }
            set
            {
                txtTenNcc.Text = value;
            }
        }

        public string DiaChi
        {
            get
            {
                return txtDiaChi.Text;
            }
            set
            {
                txtDiaChi.Text = value;
            }
        }

        public string DienThoai
        {
            get
            {
                return txtDienThoai.Text;
            }
            set
            {
                txtDienThoai.Text = value;
            }
        }

        public string Email
        {
            get
            {
                return txtEmail.Text;
            }
            set
            {
                txtEmail.Text = value;
            }
        }
    }
}